package com.gopay.common.domain.dps;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;
/**
 * 钱包参数表
 * @author TangYang
 *
 */
@Entity
@Table(name = "WA_PROMOTIONS_PARAM")
public class WaPromotionsParam extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String paramKey;
	private String paramValue;
	private Date createTime;
	private String paramName;
	private String paramType;
	private String remak;
	private String valueTpye;
	private String valueFormat;
	

	@Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "WA_PROMOTIONS_PARAM_SEQ")
    @SequenceGenerator(name = "WA_PROMOTIONS_PARAM_SEQ", allocationSize = 1, initialValue = 1, sequenceName = "WA_PROMOTIONS_PARAM_SEQ")
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "PARAM_KEY", length = 30)
	public String getParamKey() {
		return paramKey;
	}
	public void setParamKey(String paramKey) {
		this.paramKey = paramKey;
	}
	@Column(name = "PARAM_VALUE", length = 30)
	public String getParamValue() {
		return paramValue;
	}
	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}
	@Column(name = "CREATE_TIME", nullable = false)
	@Temporal(TemporalType.TIMESTAMP)
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Column(name = "PARAM_NAME", nullable = false,length=150)
	public String getParamName() {
		return paramName;
	}
	public void setParamName(String paramName) {
		this.paramName = paramName;
	}
	@Column(name = "PARAM_TYPE", nullable = false,length=3)
	public String getParamType() {
		return paramType;
	}
	public void setParamType(String paramType) {
		this.paramType = paramType;
	}
	@Column(name = "REMARK",length=200)
	public String getRemak() {
		return remak;
	}
	public void setRemak(String remak) {
		this.remak = remak;
	}
	@Column(name = "VALUE_TYPE",length=150)
	public String getValueTpye() {
		return valueTpye;
	}
	public void setValueTpye(String valueTpye) {
		this.valueTpye = valueTpye;
	}
	@Column(name = "VALUE_FORMAT",length=150)
	public String getValueFormat() {
		return valueFormat;
	}
	public void setValueFormat(String valueFormat) {
		this.valueFormat = valueFormat;
	}

}
